home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / CONTROLB.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  52 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1992, 1997 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.4  $
  6. //
  7. // Definition of class TControlBar.
  8. //----------------------------------------------------------------------------
  9. #if !defined(OWL_CONTROLB_H)
  10. #define OWL_CONTROLB_H
  11.  
  12. #if !defined(OWL_GADGETWI_H)
  13. # include <owl/gadgetwi.h>
  14. #endif
  15.  
  16. #if defined(BI_NAMESPACE)
  17. namespace OWL {
  18. #endif
  19.  
  20. // Generic definitions/compiler options (eg. alignment) preceeding the 
  21. // definition of classes
  22. #include <services/preclass.h>
  23.  
  24. //
  25. // class TControlBar
  26. // ~~~~~ ~~~~~~~~~~~
  27. // Implements a control bar which provides mnemonic access for its button
  28. // gadgets. By default positions itself at the top of the window
  29. //
  30. class _OWLCLASS TControlBar : public TGadgetWindow {
  31.   public:
  32.     TControlBar(TWindow*        parent = 0,
  33.                 TTileDirection  direction= Horizontal,
  34.                 TFont*          font = new TGadgetWindowFont,
  35.                 TModule*        module = 0);
  36.    ~TControlBar();
  37.  
  38.     bool    PreProcessMsg(MSG& msg);
  39.  
  40.   DECLARE_CASTABLE;
  41. };
  42.  
  43. // Generic definitions/compiler options (eg. alignment) following the 
  44. // definition of classes
  45. #include <services/posclass.h>
  46.  
  47. #if defined(BI_NAMESPACE)
  48. } // namespace OWL
  49. #endif
  50.  
  51. #endif  // OWL_CONTROLB_H
  52.